@import "../_function";
@import "../variables";

.cart-list-item {
	position: relative;
	height: pr(332);
	.cart-list-item-container {
		display: flex;
		align-items: center;
		padding: pr(42) 0;
		.cart-list-item-info {
			flex: 1;
			height: 100%;
			display: flex;
			align-items: center;
			.cart-list-item-image {
				height: pr(230);
				border-radius: pr(10);
				overflow: hidden;
				background: $bgColor;
				img {
					height: 100%;
				}
			}
			.cart-list-item-detail {
				margin-left: pr(50);
				height: pr(230);
				flex: 1;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				.cart-list-item-detail-name {
					margin: pr(22) 0;
					font-size: pr(38);
				}
				.cart-list-item-detail-childsCurGoods {
					display: flex;
					align-items: center;
					font-size: pr(32);
					color: $describeColor;
				}
				.cart-list-item-detail-number {
					margin-top: pr(30);
					& > div:nth-child(1) {
						color: $priceColor;
					}
					font-size: pr(35);
					padding-right: pr(42);
					display: flex;
					align-items: center;
					justify-content: space-between;
				}
			}
		}
	}
	.cart-list-item-btn {
		position: absolute;
		width: pr(172);
		height: 100%;
		right: pr(-172);
		top: 0;
		button {
			border: none;
			background: $formColor;
			color: $userNameColor;
			width: 100%;
			height: 100%;
			font-size: pr(33);
		}
	}
}
